package cc.comac.mom.api;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipRepair;
import cc.comac.mom.bean.EquipRepairStep;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipRepairStepService {
	@RequestMapping(value = "/p/cs/EquipRepairStepService/insertBatch",method = RequestMethod.POST)
	public ResultBean insertBatch(@RequestBody List<EquipRepairStep> list);
	
	@RequestMapping(value = "/p/cs/EquipRepairStepService/update",method = RequestMethod.POST)
	public ResultBean update(@RequestBody EquipRepairStep obj);
	
	@RequestMapping(value = "/p/cs/EquipRepairStepService/deleteBatch",method = RequestMethod.POST)
	public ResultBean deleteBatch(@RequestBody List<EquipRepairStep> list);
	
	@RequestMapping(value = "/p/cs/EquipRepairStepService/moveUp",method = RequestMethod.POST)
	public ResultBean moveUp(@RequestBody EquipRepairStep obj);
	
	@RequestMapping(value = "/p/cs/EquipRepairStepService/moveDown",method = RequestMethod.POST)
	public ResultBean moveDown(@RequestBody EquipRepairStep obj);
	
	@RequestMapping(value = "/p/cs/EquipRepairStepService/selectByCondition",method = RequestMethod.POST)
	public ResultBean selectByCondition(@RequestBody EquipRepairStep obj);
	
	@RequestMapping(value = "/p/cs/EquipRepairStepService/getRepqirRepositoryStepInfo",method = RequestMethod.POST)
	public ResultBean getRepqirRepositoryStepInfo(@RequestBody EquipRepair obj);
}
